<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .olympic-rings  {
            width: 650px;
            height: auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            transform-style: preserve-3d;
        }
        .olympic-rings .ring {
            display: block;
            margin: 0 5px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            border: 15px solid transparent;
            box-sizing: border-box;
        }
        .olympic-rings .ring:nth-child(1) {
            border-color: #006BB0;
            /* transform: rotateX(-1deg); */
        }
        .olympic-rings .ring:nth-child(2) {
            border-color: #1D1815;
            transform: translateZ(-2px) rotateX(2deg);
        }
        .olympic-rings .ring:nth-child(3) {
            border-color: #DC2F1F;
            transform: translateZ(-3px) rotateX(4deg);
        }
        .olympic-rings .ring:nth-child(4) {
            border-color: #EFA90D;
            transform-origin: center 25%;
            transform: translateY(-50%) rotateX(1deg);
        }
        .olympic-rings .ring:nth-child(5) {
            border-color: #059341;
            transform-origin: center 25%;
            transform: translateY(-50%) rotateX(3deg);
        }
    </style>
</head>
<body>
    <div class="olympic-rings">
        <span class="ring"></span>
        <span class="ring"></span>
        <span class="ring"></span>
        <span class="ring"></span>
        <span class="ring"></span>
    </div>
</body>
</html>